function [voltage_chosen] = fgenerateRandomVoltage()
    rng("shuffle")
    voltage_min = 0.001; % unit in V
    voltage_max = 0.02;
    voltage_num = 101;
    voltage_choices = linspace(voltage_min, voltage_max,voltage_num);
    voltage_chosen = voltage_choices(randperm(voltage_num,1));
end


